package com.zm.demo.shoppingmall.user;

import org.apache.dubbo.config.RegistryConfig;
import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.context.annotation.PropertySource;

/**
 * @desc:
 * @author: z01140
 * @date: 2021/5/24 15:17
 */
@SpringBootApplication
@DubboComponentScan(basePackages = {"com.zm.demo.shoppingmall.user.service.impl"})
@MapperScan("com.zm.demo.shoppingmall.user.dao")
@Configuration
@ImportResource("classpath:spring/beans-dubbo-server.xml")
public class ShoppingMallUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShoppingMallUserApplication.class);
    }

}
